<%-- 
    Document   : settings
    Created on : 2012-05-09, 11:11
    Author     : yilee
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page language="java" import="com.bjtu.lms.model.Administrator"%>

<%
	Administrator a = (Administrator) request.getSession()
			.getAttribute("admin");
	String name = "";
	if (a == null) {
		response.sendRedirect("login.jsp");
	} else {
		name = a.getName();
	}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>系统设置</title>
		<link rel="stylesheet" type="text/css"
			href="../../css/tripoli.simple.css" media="screen, projection, print" />
		<link rel="stylesheet" type="text/css" href="../../css/layout.css"
			media="screen, projection, print" />

		<!--[if IE]>
		  <link rel="stylesheet" type="text/css" href="../../css/ie/ie.css" media="screen, projection, print"
		  />
		<![endif]-->
		<!--[if lt IE 7]>
		  <script src="../../js/DD_belatedPNG_0.0.7a-min.js" type="text/javascript">
		  </script>
		  <script>
			DD_belatedPNG.fix(' #header, h1, h1 a, .close, .field,.paginate .current, .icon, .required-icon, .search input');
		  </script>
		  <link rel="stylesheet" href="../../css/ie/ie6.css" type="text/css" media="screen, projection"
		  />
		<![endif]-->
		<script type="text/javascript" src="../../js/jquery.min.js">
</script>
		<script type="text/javascript" src="../../js/system.js">
</script>
	</head>

	<body>
			<!-- Header -->
		<div id="header">
			<div class="container content">
				<h1>
					<a href="../adminViewBookListAction"> 图书管理系统 </a>
				</h1>

				<div class="loginInfos">
					欢迎您
					<strong> <%=name%> </strong> 管理员.
					<a href="../system/settings.jsp">系统设置</a>
				</div>
			</div>
		</div>
		<!-- /Header -->
		<!-- Global -->
		<div id="page-content">
			<div class="container content">
				<!-- Sidebar -->
				<div id="sidebar" class="bImg">
					<div class="bInner">
						<span class="bTR"> </span>
						<span class="bBL"> </span>
						<ul id="side-nav">
							<li class="inactive">
								<a href="#" title="Posts" class="button"> <strong>
										<img src="../../img/newspaper_48.png" alt="comments"
											class="icon " /> <span class="title"> 图书馆 </span> <span
										class="expand expanded"> </span> </strong> </a>
								<ul>
									<li>
										<a href="../adminViewBookListAction"> 图书列表 </a>
									</li>
									<li>
										<a href="#" onclick="return false;"> 增加图书 </a>
									</li>
								</ul>
							</li>

							<li class="inactive">
								<a href="#" title="Pages" class="button"> <strong>
										<img src="../../img/spanner_48.png" alt="comments"
											class="icon " /> <span class="title"> 用户管理 </span> <span
										class="expand"> </span> </strong> </a>
								<ul>
									<li>
										<a href="#"> 管理员信息 </a>
									</li>
									<li>
										<a href="#"> 用户列表 </a>
									</li>
								</ul>
							</li>
						</ul>
					</div>
				</div>
				<!-- /Sidebar -->
				<!-- Content -->
				<div id="content" class="roundedBorders">
					<!-- Title -->
					<div id="title" class="b2">
						<h2>
							图书管理系统
						</h2>

					</div>
					<!-- Title -->
					<!-- Inner Content -->
					<div id="innerContent">

						<hr />
						<p>
			最多借
			<input type="text" name="maxDays" id="maxDays" />
			天
		</p>
		<p>
			最多借
			<input type="text" name="maxBorrow" id="maxBorrow" />
			本书
		</p>
		<input type="button" value="提交" onclick="submitSettings();">
					</div>
					<!-- /Inner Content -->
					<div class="bBottom">
						<div>
						</div>
					</div>
				</div>
				<!-- /Dialog boxes -->
			</div>
		</div>
		<script type="text/javascript" src="../../js/jquery.min.js">
</script>
		<script type="text/javascript"
			src="../../js/jquery-ui-1.7.custom.min.js">
</script>
		<script type="text/javascript" src="../../js/jquery.bgiframe.min.js">
</script>
		<script type="text/javascript" src="../../js/jquery.dimensions.js">
</script>
		<script type="text/javascript" src="../../js/jquery.tooltip.min.js">
</script>
		<script type="text/javascript"
			src="../../js/jquery.tablesorter.min.js">
</script>
		<script type="text/javascript" src="../../js/titanium.js">
</script>
		<script type="text/javascript" src="../../js/jquery.skygqbox.1.3.js">
</script>
	</body>
</html>